package twentyThreePattern.create5.simple_factory.section6;

/**
 * 
 * @author zhangjie
 * @date 2018年3月1日上午10:46:14
 * @since jdk 1.8
 * 
 * @version 1.0
 */
public enum ProductKind {
	PRODEUCT1(1,"产品1"),PRODUCT2(2, "产品2");
	
	private int id;
	
	private String name;

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	private ProductKind(int id, String name) {
		this.id = id;
		this.name = name;
	}
	
	
}
